package com.atguigu07.encapsulation.ex2;

public class booktest {
    public static void main(String[] args) {
        book book=new book();
        book.setAuthor("lishuyu");
        book.setName("nihao");
        book.setPrice(23.5);
        book.showmessage();
    }
}
